/**
 * Copyright ToFBA Ecommerce Logistics LTD. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * Shenzhen ToFBA Ecommerce Logistics Co., Ltd.
 * No body can copy or modify any part of this source without the permission of
 * Shenzhen ToFBA Ecommerce Logistics Co., Ltd.
 *   _________    ___   ________  ______        _       
 *  |  _   _  | .'   `.|_   __  ||_   _ \      / \      
 *  |_/ | | \_|/  .-.  \ | |_ \_|  | |_) |    / _ \     
 *      | |    | |   | | |  _|     |  __'.   / ___ \    
 *     _| |_   \  `-'  /_| |_     _| |__) |_/ /   \ \_  
 *    |_____|   `.___.'|_____|   |_______/|____| |____|
 *                                                
 */
package com.lmexpress.orm.newgistics;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * <订单实体>
 * 
 * @author Henry(fba02)
 * @version [版本号, 2019年7月1日]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
@SuppressWarnings("serial")
public class NewgisticsOrder implements Serializable {    
    private Address fromAddress;    
    private Address toAddress;    
    private Parcel parcel;    
    private List<Rate> rates;
    private List<Document> documents;  
    private List<Map<String, Object>> shipmentOptions;
    private List<Map<String, Object>> references;
    private String shipmentId;    
    private String parcelTrackingNumber;
    
    public Address getFromAddress() {
        return fromAddress;
    }
    
    public void setFromAddress(Address fromAddress) {
        this.fromAddress = fromAddress;
    }
    
    public Address getToAddress() {
        return toAddress;
    }
    
    public void setToAddress(Address toAddress) {
        this.toAddress = toAddress;
    }
    
    public Parcel getParcel() {
        return parcel;
    }
    
    public void setParcel(Parcel parcel) {
        this.parcel = parcel;
    }
    
    public List<Rate> getRates() {
        return rates;
    }
    
    public void setRates(List<Rate> rates) {
        this.rates = rates;
    }
    
    public List<Document> getDocuments() {
        return documents;
    }
    
    public void setDocuments(List<Document> documents) {
        this.documents = documents;
    }
    
    public String getShipmentId() {
        return shipmentId;
    }
    
    public void setShipmentId(String shipmentId) {
        this.shipmentId = shipmentId;
    }
    
    public String getParcelTrackingNumber() {
        return parcelTrackingNumber;
    }
    
    public void setParcelTrackingNumber(String parcelTrackingNumber) {
        this.parcelTrackingNumber = parcelTrackingNumber;
    }
    
    public List<Map<String, Object>> getShipmentOptions() {
        return shipmentOptions;
    }

    public void setShipmentOptions(List<Map<String, Object>> shipmentOptions) {
        this.shipmentOptions = shipmentOptions;
    }

    public List<Map<String, Object>> getReferences() {
        return references;
    }

    public void setReferences(List<Map<String, Object>> references) {
        this.references = references;
    }

    @Override
    public String toString() {
        return "NewgisticsOrder [fromAddress=" + fromAddress + ", toAddress=" + toAddress + ", parcel=" + parcel + ", rates=" + rates + ", documents=" + documents + ", shipmentOptions=" + shipmentOptions + ", references=" + references
            + ", shipmentId=" + shipmentId + ", parcelTrackingNumber=" + parcelTrackingNumber + "]";
    }
}